package com.ssy.lingxi.purchase.api.dto.request;

import com.ssy.lingxi.purchase.api.attribute.ExcelAttribute;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 需求计划 - 导入数据
 * @author fhj
 * @date 2021/06/03
 * @version 2.0.0
 */
@Data
public class NeedPlanExcelRequest {

    @ExcelAttribute(sort = 0)
    @ApiModelProperty(value = "物料编号")
    private String number;

    @ExcelAttribute(sort = 1)
    @ApiModelProperty(value = "物料名称")
    private String name;

    @ExcelAttribute(sort = 2)
    @ApiModelProperty(value = "规格型号")
    private String model;

    @ExcelAttribute(sort = 3)
    @ApiModelProperty(value = "品类")
    private String category;

    @ExcelAttribute(sort = 4)
    @ApiModelProperty(value = "品牌")
    private String brand;

    @ExcelAttribute(sort = 5)
    @ApiModelProperty(value = "单位")
    private String unit;

    @ExcelAttribute(sort = 6, format = "Double")
    @ApiModelProperty(value = "成本价")
    private Double costPrice;

    @ExcelAttribute(sort = 7, format = "Double")
    @ApiModelProperty(value = "需求数量")
    private Double needCount;

    @ExcelAttribute(sort = 8, format = "Double")
    @ApiModelProperty(value = "需求金额")
    private Double needPrice;

    @ExcelAttribute(sort = 9, format = "Long")
    @ApiModelProperty(value = "到货日期")
    private Long arriveTime;
}
